 ///
 /// @file    SplitTool.h
 /// @author  lemon(haohb13@gmail.com)
 /// @date    2016-03-31 16:09:27
 ///
 
#ifndef _MY_SPLIT_TOOL_H_
#define _MY_SPLIT_TOOL_H_

#include "Configuration.hpp"
#include <iostream>
#include <vector>
#include <string>

using std::string;
using std::vector;

class SplitTool
{
public:
	SplitTool(){}
	virtual ~SplitTool(){}

	virtual vector<string> cut(const string & sentence)=0;
};

class SplitToolNLPIR : public SplitTool
{
public:
	SplitToolNLPIR(wd::Configuration & conf);
	~SplitToolNLPIR();
	vector<string> cut(const string & sentence);
private:
	wd::Configuration & _conf;
};

#endif
